package cn.sugarscat.flight;

public class Seat {
    private int id;
    private int flightId;
    private String number;
    private String type;
    private boolean booked;

    public Seat() {}

    public Seat(int flightId, String number, String type, boolean booked) {
        this.flightId = flightId;
        this.number = number;
        this.type = type;
        this.booked = booked;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getFlightId() {
        return flightId;
    }

    public void setFlightId(int flightId) {
        this.flightId = flightId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isBooked() {
        return booked;
    }

    public void setBooked(boolean booked) {
        this.booked = booked;
    }
}
